import { BehaviorWithStore } from 'mobx-miniprogram-bindings'
import { userStore } from '@/store/userStore'
export const userData = BehaviorWithStore({
  storeBindings:{
    store: userStore,
    fields: ['token','userInfo'],
    actions: ['setUserInfo']
  }
})